Copy to clipboard
grep -rno --exclude-dir={temp,templates_c,.*,lang,vendor,vendor-extra,tags,styles} "function fetchAll(" *
This page's purpose is to help share information about custom, user-defined, functions that are used in tikiwiki php code. Especially for new developers, this page aims to provide a better understanding of how tiki works, to speed up the development process, especially of new plugins.
Useful commands
To look for a function (replace fectchAll with the name of your current function) :
Copy to clipboard
grep -rno --exclude-dir={temp,templates_c,.*,lang,vendor,vendor-extra,tags,styles} "function fetchAll(" *
Then, when you get what you want, call again in a subshell the results, and you have everything opened at once as buffers in vim.
Copy to clipboard
vim $(!! -l)
To vsplit everything in vim type:
Copy to clipboard
:vertical sball
Function list
Function name | Parameters, bold = mandatory | Description and link to documentation
|
fetchAll() | $query, $values, $numrows, $offset, $reporterrors {true, false} | Takes a SQL query in character string form in $query, outputs a numbered array with the query results: doc
|
fetchMap() | $query, $values, $numrows, $offset, $reporterrors {true, false} | Takes a SQL query in character string form in $query, outputs an associative array with the first SELECT item as key: doc
|
get_tracker() | | |
{CODE(wrap="1" colors="shell")}grep -rno --exclude-dir={temp,templates_c,.*,lang,vendor,vendor-extra,tags,styles} "function fetchAll(" *{CODE}This page's purpose is to help share information about custom, user-defined, functions that are used in tikiwiki php code. Especially for new developers, this page aims to provide a better understanding of how tiki works, to speed up the development process, especially of new plugins.
{img fileId="1096"}
! Useful commands
To look for a function (replace fectchAll with the name of your current function) :
{CODE(wrap="1" colors="shell")}grep -rno --exclude-dir={temp,templates_c,.*,lang,vendor,vendor-extra,tags,styles} "function fetchAll(" *{CODE}
Then, when you get what you want, call again in a subshell the results, and you have everything opened at once as buffers in vim.
{CODE(wrap="1" colors="shell")}vim $(!! -l){CODE}
To vsplit everything in vim type:
{CODE(wrap="1")}:vertical sball{CODE}
!Function list
||Function name|Parameters, bold = mandatory|Description and link to documentation
fetchAll()|__$query__, $values, $numrows, $offset, $reporterrors {true, false} | Takes a SQL query in character string form in $query, outputs a numbered array with the query results: ((Database Access|doc))
fetchMap()|__$query,__ $values, $numrows, $offset, $reporterrors {true, false} | Takes a SQL query in character string form in $query, outputs an associative array with the first SELECT item as key: ((Database Access|doc))
get_tracker()| | ||